﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SysUserManager.aspx.cs" Inherits="User_SysUserManager" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>系统用户管理</title>
    
<link href="../css/base.css" rel="stylesheet" type="text/css" />
	<script type="text/javascript" src="../js/jq.js"></script>
	<script type="text/javascript" src="../js/ymPrompt.js"></script> 

<script language="javascript" type="text/javascript">
// <!CDATA[

function IMG1_onclick() {

var Url="../Authority/NQ_CommonWindow.aspx";
    var result=window.showModalDialog(Url,'选择群组','dialogWidth:500px;status:no;dialogheight:600px');   
    if(result!=null)
    { 
     var val=result.split('$$$');
     document.getElementById("GroupID").value=val[0];
     document.getElementById("GroupID1").value=val[1];
     
    }

}



function checkUserName_onclick() {


  var strName=document.getElementById("UserName").value
  
  if(strName.length< 6)
  {
       alert("请输入不少于6位字符");
      //ymPrompt.alert({message:'请输入不少于6位字符',title:'错误提示',handler:null});
		return;

  }else
  {
  
     var Url="NQ_CheckUserName.aspx?UserName="+strName+"";
    var result=window.showModalDialog(Url,'','dialogWidth:400px;status:no;dialogheight:200px');   
    if(result!=null)
    { 
     
    }
    
  }

}





// ]]>
</script>
</head>
<body>
    
    <form id="form1" runat="server">



    <div  style="margin:0 auto; width:100%;  text-align:center;">
<table style="width: 98%;">
        <tr>

            <td  class="title" style=" text-align:center;">
                <asp:Label ID="lblTitle" runat="server" Text="Title"></asp:Label>
          </td>
        </tr>      
    </table>    
    <TABLE cellSpacing=1 cellPadding=2 width="650px" border=1 valign="top">
        <TBODY>
        <TR bgColor=#ffffff>
          <td align="middle" width="120px">
              帐号：</td>
          <td align="left">
          <asp:TextBox ID="UserName" runat="server" Width="136px" CssClass="txt_left "></asp:TextBox>
                                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="UserName"
                                                                ErrorMessage="<img src=../images/false.gif  />不能为空"></asp:RequiredFieldValidator>
                                                        </td>
        </TR>
        <TR bgColor=#ffffff>
          <TD align=middle>
              密码：</TD>
          <TD align="left">&nbsp;<asp:TextBox ID="PassWord" runat="server" TextMode="Password" CssClass="txt_left "></asp:TextBox>
                                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="PassWord"
                                                                ErrorMessage="<img src=../images/false.gif  />不能为空"></asp:RequiredFieldValidator>
              </TD>
        </TR>
        <TR bgColor=#ffffff style="color: #000000">
          <TD align=middle>
              密码验证：</TD>
          <TD align="left">&nbsp;<asp:TextBox ID="PassWord1" runat="server" TextMode="Password" CssClass="txt_left "></asp:TextBox>
                                                            <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="PassWord"
                                                                ControlToValidate="PassWord1" ErrorMessage="<img src=../images/false.gif  />两次密码不一样"
                                                                Width="209px"></asp:CompareValidator></TD>
        </TR>
        <TR bgColor=#ffffff>
          <TD align=middle>
              用户类型：</TD>
          <TD align="left">&nbsp;<asp:DropDownList ID="TypeID" runat="server" DataTextField="NAME" DataValueField="ID">
                                                                        </asp:DropDownList>
              </TD>
        </TR>
        <TR bgColor=#ffffff style="font-family: Times New Roman">
          <TD align=middle><FONT face=宋体>真实姓名：</FONT></TD>
          <TD style="font-family: Times New Roman" align="left">
                                                        <asp:TextBox ID="RealName" runat="server" Width="143px" CssClass="txt_left "></asp:TextBox>
                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="RealName"
                                                            ErrorMessage="<img src=../images/false.gif  />不能为空"></asp:RequiredFieldValidator></TD>
        </TR>
            <tr bgcolor="#ffffff" style="font-family: Times New Roman">
                <td align="middle" height="23">
                                                        状&#160; 态</td>
                <td height="23" align="left">
                                                        <asp:DropDownList ID="Status" runat="server">
                                                            <asp:ListItem Value="1">正常使用</asp:ListItem>
                                                            <asp:ListItem Value="0">停止使用</asp:ListItem>
                                                        </asp:DropDownList></td>
            </tr>
            <tr bgcolor="#ffffff" style="font-family: Times New Roman">
                <td align="middle" style="height: 20px" colspan="2">
                                                        <asp:Button ID="Add_Submit" runat="server" Height="32px" 
                                                            Text="保存" Width="105px" 
                        onclick="Add_Submit_Click" />
     <asp:Button ID="Button1" runat="server" Height="32px" 
                                                            Text="返回列表" Width="105px" CausesValidation="False" onclick="Button1_Click" 
                     />
                </td>
            </tr>
        </TBODY></TABLE></div>
    </form>
</body>
</html>
